package com.example.codegen.mapper;

import com.example.codegen.model.Column;
import com.example.codegen.model.Table;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OracleMapper {
    String getVersion();

    List<Table> getTables(@Param("databaseName") String databaseName, @Param("schemaName") String schemaName, @Param("tableName") String tableName);

    List<Column> getColumns(@Param("databaseName") String databaseName, @Param("schemaName") String schemaName, @Param("tableName") String tableName);
}
